package com.mvw.tetrominoes.data {
	
	/**
	 * An abstract representation of Cluster orientation using specific String values.
	 */
	public class ClusterOrientation {
		
		private var _orientation:String;
			
		public static const HORIZONTAL:ClusterOrientation = new ClusterOrientation("urn:tetrominoes:orientation:horizontal");
		public static const VERTICAL:ClusterOrientation = new ClusterOrientation("urn:tetrominoes:orientation:vertical");
		
		/**
		 * The constructor defines orientation as a String.
		 * 
		 * @param type A String representation of orientation.
		 */
		public function ClusterOrientation(orientation:String):void {
			_orientation = orientation;
		}
		
		/**
		 * Returns a String representation of ClusterOrientation.
		 * 
		 * @return A String representation of ClusterOrientation.
		 */
		public function toString():String {
			return _orientation;
		}

	}
}